<!DOCTYPE html><html><head><title>尤米二期接口文档</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style>
.note-content  {font-family: 'Helvetica Neue', Arial, 'Hiragino Sans GB', STHeiti, 'Microsoft YaHei', 'WenQuanYi Micro Hei', SimSun, Song, sans-serif;}

</style></head><body><div id='preview-contents' class='note-content'>
                        
                    



<h1 id="尤米二期接口文档">尤米二期接口文档</h1>

<div><div class="toc"><div class="toc">
<ul>
<li><a href="#尤米二期接口文档">尤米二期接口文档</a><ul>
<li><ul>
<li><ul>
<li><ul>
<li><a href="#1娱乐首页轮播图">1.娱乐首页轮播图</a></li>
<li><a href="#2影视首页推荐列表">2.影视首页推荐列表</a></li>
<li><a href="#3全部影视列表">3.全部影视列表</a></li>
<li><a href="#4视频首页推荐">4.视频首页推荐</a></li>
<li><a href="#5全部视频">5.全部视频</a></li>
<li><a href="#6-视频详情">6. 视频详情</a></li>
<li><a href="#7收藏视频">7.收藏视频</a></li>
<li><a href="#8收藏列表">8.收藏列表</a></li>
<li><a href="#9删除收藏">9.删除收藏</a></li>
<li><a href="#10评论视频">10.评论视频</a></li>
<li><a href="#11购买视频下载视频">11.购买视频/下载视频</a></li>
<li><a href="#12推荐视频购买">12.推荐视频购买</a></li>
<li><a href="#13-打赏视频">13 .打赏视频</a></li>
<li><a href="#14七牛上传视频token">14.七牛上传视频token</a></li>
<li><a href="#15上传视频">15.上传视频</a></li>
<li><a href="#16我的视频列表">16.我的视频列表</a></li>
<li><a href="#17删除视频">17.删除视频</a></li>
<li><a href="#18上传视频配置">18.上传视频配置</a></li>
<li><a href="#19游戏列表">19.游戏列表</a></li>
<li><a href="#20推荐等级列表">20.推荐等级列表</a></li>
<li><a href="#21点赞视频取消点赞">21.点赞视频/取消点赞</a></li>
<li><a href="#22免责声明">22.免责声明</a></li>
<li><a href="#23搜索">23.搜索</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>

<p>域名：<a href="http://shop.bifankeji.com" target="_blank">http://shop.bifankeji.com</a></p>



<h5 id="1娱乐首页轮播图">1.娱乐首页轮播图</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">  url /api/Video/carousel
</div><div class="hljs-line">  参数
</div><div class="hljs-line">  type  <span class="hljs-number">1</span>影视轮播<span class="hljs-number">2</span>视频轮播<span class="hljs-number">3</span>游戏轮播
</div><div class="hljs-line">  返回
</div><div class="hljs-line">  vid  视频id
</div><div class="hljs-line">  thumb2 封面图
</div></code></pre>



<h5 id="2影视首页推荐列表">2.影视首页推荐列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line"> url  <span class="hljs-meta-keyword">/api/</span>Video/rec_videoList
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> video_list 电影推荐
</div><div class="hljs-line"> teleplay_list  电视剧推荐
</div></code></pre>



<h5 id="3全部影视列表">3.全部影视列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs ada"><div class="hljs-line"> url  /api/video/videoList
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"><span class="hljs-keyword">type</span>  <span class="hljs-type">1 </span>电影 <span class="hljs-number">2</span>电视剧
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> video
</div></code></pre>



<h5 id="4视频首页推荐">4.视频首页推荐</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line">  url <span class="hljs-meta-keyword">/api/</span>video/rec_video
</div><div class="hljs-line">  返回
</div><div class="hljs-line">  video_list
</div></code></pre>



<h5 id="5全部视频">5.全部视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line"> url <span class="hljs-meta-keyword">/api/</span>video/all_video
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> video
</div></code></pre>



<h5 id="6-视频详情">6. 视频详情</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">  url /api/video/videoDetails
</div><div class="hljs-line">  参数
</div><div class="hljs-line">  id 
</div><div class="hljs-line">  返回
</div><div class="hljs-line">  is_charge  是否收费<span class="hljs-number">0</span>否，<span class="hljs-number">1</span>是
</div><div class="hljs-line">  charge_money 购买视频价格
</div><div class="hljs-line">  is_down  是否支持下载<span class="hljs-number">0</span>否<span class="hljs-number">1</span>是
</div><div class="hljs-line">  down_money  下载收费价格
</div><div class="hljs-line">    is_download   是否购买下载  <span class="hljs-number">1</span>是<span class="hljs-number">0</span>否
</div><div class="hljs-line">    is_purchase  是否购买 <span class="hljs-number">1</span>是<span class="hljs-number">0</span>否
</div><div class="hljs-line">    is_collect  是否收藏 <span class="hljs-number">1</span>是<span class="hljs-number">0</span>否
</div><div class="hljs-line">    is_thumbsup  是否点赞 <span class="hljs-number">1</span>是<span class="hljs-number">0</span>否
</div><div class="hljs-line">    video_type  <span class="hljs-number">1</span>视频<span class="hljs-number">2</span>电视剧
</div><div class="hljs-line">    times 播放次数
</div><div class="hljs-line">    thumbs_up_nums  点赞次数
</div></code></pre>

<h5 id="7收藏视频">7.收藏视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line"> url  /api/video/collectVideo
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> <span class="hljs-built_in">id</span>
</div><div class="hljs-line"> token
</div></code></pre>



<h5 id="8收藏列表">8.收藏列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line"> url  <span class="hljs-meta-keyword">/api/</span>video/collectList
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div></code></pre>



<h5 id="9删除收藏">9.删除收藏</h5>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line"> url  /api/video/delcollect
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div><div class="hljs-line"> <span class="hljs-built_in">id</span>  多个<span class="hljs-built_in">id</span>用，隔开
</div></code></pre>



<h5 id="10评论视频">10.评论视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line"> url /api/video/commentVideo
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div><div class="hljs-line"> <span class="hljs-built_in">id</span>  视频<span class="hljs-built_in">id</span>
</div><div class="hljs-line"> content  评论内容
</div></code></pre>



<h5 id="11购买视频下载视频">11.购买视频/下载视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs elm"><div class="hljs-line"> url  /api/video/purchaseVideo
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> token
</div><div class="hljs-line"> vid
</div><div class="hljs-line"> pay<span class="hljs-keyword">type</span>  1支付2微信3余额4播豆支付5人品大爆发
</div><div class="hljs-line"> <span class="hljs-keyword">type</span> 1 购买 2下载
</div><div class="hljs-line"> 返回
</div><div class="hljs-line">     {
</div><div class="hljs-line">      <span class="hljs-string">"code"</span>: <span class="hljs-number">1</span>,
</div><div class="hljs-line">      <span class="hljs-string">"message"</span>: <span class="hljs-string">"支付成功"</span>,
</div><div class="hljs-line">      <span class="hljs-string">"data"</span>: {
</div><div class="hljs-line">        <span class="hljs-string">"order_no"</span>: <span class="hljs-string">"2017121478890"</span>
</div><div class="hljs-line">      }
</div><div class="hljs-line">    }
</div></code></pre>



<h5 id="12推荐视频购买">12.推荐视频购买</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">  url  /api/video/downloadVideo
</div><div class="hljs-line">  参数
</div><div class="hljs-line">  token
</div><div class="hljs-line">  vid
</div><div class="hljs-line">  paytype  <span class="hljs-number">1</span>支付<span class="hljs-number">2</span>微信<span class="hljs-number">3</span>余额<span class="hljs-number">4</span>播豆支付<span class="hljs-number">5</span>人品大爆发
</div><div class="hljs-line">  level  等级
</div></code></pre>



<h5 id="13-打赏视频">13 .打赏视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">   url  /api/video/rewardVideo
</div><div class="hljs-line">   参数
</div><div class="hljs-line">   token
</div><div class="hljs-line">   vid
</div><div class="hljs-line">   <span class="hljs-section">money</span>
</div><div class="hljs-line">   paytype  <span class="hljs-number">1</span> 支付宝 <span class="hljs-number">2</span> 微信 <span class="hljs-number">3</span> 播豆
</div></code></pre>



<h5 id="14七牛上传视频token">14.七牛上传视频token</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line">   url <span class="hljs-meta-keyword">/api/</span>video/uptoken
</div><div class="hljs-line">   返回
</div><div class="hljs-line">   qiniu_token
</div></code></pre>



<h5 id="15上传视频">15.上传视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs gauss"><div class="hljs-line">    url /api/video/addVideo
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    <span class="hljs-built_in">token</span>
</div><div class="hljs-line">    qiniu_key   七牛视频<span class="hljs-built_in">key</span>
</div><div class="hljs-line">    img_key     七牛图片<span class="hljs-built_in">key</span>
</div><div class="hljs-line">    name       视频标题
</div><div class="hljs-line">    charge_money 收费播豆
</div><div class="hljs-line">    down_money  下载所需播豆
</div><div class="hljs-line">    is_recommend  是否推荐
</div><div class="hljs-line">
</div><div class="hljs-line">    detail    视频简介
</div></code></pre>



<h5 id="16我的视频列表">16.我的视频列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs dts"><div class="hljs-line">    url  <span class="hljs-meta-keyword">/api/</span>video/myVideo
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    token
</div></code></pre>



<h5 id="17删除视频">17.删除视频</h5>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line">    url /api/video/delVideo
</div><div class="hljs-line">    参数
</div><div class="hljs-line">    <span class="hljs-built_in">id</span>  多个<span class="hljs-built_in">id</span>逗号隔开
</div></code></pre>



<h5 id="18上传视频配置">18.上传视频配置</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line">    url  /api/video/videoConfig
</div><div class="hljs-line">    返回
</div><div class="hljs-line">     {
</div><div class="hljs-line">      <span class="hljs-string">"code"</span>: <span class="hljs-number">1</span>,
</div><div class="hljs-line">      <span class="hljs-string">"message"</span>: <span class="hljs-string">"操作成功"</span>,
</div><div class="hljs-line">          <span class="hljs-string">"data"</span>:{
</div><div class="hljs-line">            <span class="hljs-string">"is_upload"</span>: <span class="hljs-string">"1"</span>,  是否可以上传
</div><div class="hljs-line">            <span class="hljs-string">"is_download"</span>: <span class="hljs-string">"1"</span>,  是否可以设置下载价格
</div><div class="hljs-line">            <span class="hljs-string">"is_watch"</span>: <span class="hljs-string">"1"</span>      是否可以设置观看视频价格
</div><div class="hljs-line">          }
</div><div class="hljs-line">      }
</div></code></pre>



<h5 id="19游戏列表">19.游戏列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs ada"><div class="hljs-line"> url  /api/video/gameList
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> <span class="hljs-keyword">type</span> <span class="hljs-type">top </span>首页显示 <span class="hljs-keyword">all</span>全部游戏
</div></code></pre>



<h5 id="20推荐等级列表">20.推荐等级列表</h5>

<pre class="prettyprint hljs-dark"><code class="hljs xquery"><div class="hljs-line"> url /api/video/rec_level
</div><div class="hljs-line"> 返回
</div><div class="hljs-line"> {<span class="hljs-string">"code"</span>:<span class="hljs-number">1</span>,<span class="hljs-string">"message"</span>:<span class="hljs-string">"\u64cd\u4f5c\u6210\u529f"</span>,<span class="hljs-string">"data"</span>:[{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"1"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e00\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"1"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"2"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e8c\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"2"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"3"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e09\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"3"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"4"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u56db\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"4"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"5"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e94\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"5"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"6"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u516d\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"6"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"7"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e03\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"7"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"8"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u516b\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"8"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"9"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u4e5d\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"9"</span>},{<span class="hljs-string">"levelid"</span>:<span class="hljs-string">"10"</span>,<span class="hljs-string">"levelname"</span>:<span class="hljs-string">"\u5341\u7ea7"</span>,<span class="hljs-string">"recommend_ratio"</span>:<span class="hljs-string">"10"</span>}]}
</div></code></pre>



<h5 id="21点赞视频取消点赞">21.点赞视频/取消点赞</h5>

<pre class="prettyprint hljs-dark"><code class="hljs applescript"><div class="hljs-line"> url /api/video/thumbs_up
</div><div class="hljs-line"> 参数
</div><div class="hljs-line"> <span class="hljs-built_in">id</span> 视频<span class="hljs-built_in">id</span>
</div><div class="hljs-line"> token
</div></code></pre>



<h5 id="22免责声明">22.免责声明</h5>

<pre class="prettyprint hljs-dark"><code class="hljs awk"><div class="hljs-line">     url <span class="hljs-regexp">/api/</span>video<span class="hljs-regexp">/disclaimer</span>
</div></code></pre>



<h5 id="23搜索">23.搜索</h5>

<pre class="prettyprint hljs-dark"><code class="hljs lsl"><div class="hljs-line">  url /Api/video/search
</div><div class="hljs-line">  参数
</div><div class="hljs-line">  type  <span class="hljs-number">1</span>影视 <span class="hljs-number">2</span> 视频 <span class="hljs-number">3</span>游戏
</div><div class="hljs-line">  name  关键字
</div></code></pre></div></body></html>